<%@include file="../pages/common/taglibs.jsp" %>
<%@ tag pageEncoding="UTF-8" %>  
<%@ attribute name="tagName" required="true" rtexprvalue="true" %>  
  
						<label class="gray">政府</label>
                        <label class="gray">社团活动</label>
                        <label class="gray">蘑菇街</label>
                        <label class="gray">政府</label>

                        <label class="gray">京东商城</label>
                        <label class="gray">社团活动</label>
                        <label class="gray">社团活动</label>
                        <label class="gray">社团活动</label>
                        <label class="gray">社团活动</label>
                        <label class="gray">蘑菇街</label>
                        <label class="gray">社团活动</label>
                        <label class="gray">社团活动</label>

  <script>
  	$(function(){
  		
  		$('.bidlist .gray').click(function(){
  			
  			var url = window.location.href;
  			if(url.indexOf("?") != -1)
  				url = url.substr(0,url.indexOf("?"));
  			
  			url+='?tag='+$(this).text();
  			
  			window.location = url;
  		});
  		
  		$('.bidlist .gray').each(function(index){
  			if($(this).text() == '${tagName}'){
  				$(this).attr('class','blue');
  			}
  		});
  		
  	});
  </script>
